﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfClient.Models
{
    public class LoadingViewModel : ViewModelBase
    {
        public string Message { get; set; }

        private int _progress;

        public int Progress
        {
            get { return _progress; }
            set 
            {
                RaisePropertyChanged();
                _progress = value; 
            }
        }

        private bool _isInfinity;

        public bool IsInfinity
        {
            get { return _isInfinity; }
            set { _isInfinity = value; }
        }



        public LoadingViewModel(string message)
        {
            Message = message;
        }

    }
}
